// 简单对象测试
const person = {
    name: "张三",
    age: 30,
    isStudent: false
};

console.log("对象基本测试:");
console.log(person.name);
console.log(person.age);
console.log(person.isStudent);

// 对象属性修改
person.name = "李四";
person.age = 25;
console.log("\n修改属性测试:");
console.log(person.name);
console.log(person.age);

// 嵌套对象
const company = {
    name: "示例公司",
    location: {
        city: "北京",
        address: "朝阳区123号"
    }
};

console.log("\n嵌套对象测试:");
console.log(company.name);
console.log(company.location.city);
console.log(company.location.address);
